<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>Weba Novare</title>
        <link rel="stylesheet" type="text/css" href="css/style.css" />
        <script type="text/javascript" src="client/js/lib/jquery-1.7.1.min.js"/>
        <script type="text/javascript" src="client/js/gui/popup.js"/>
        <script type="text/javascript" src="client/js/gui/popupLogin.js"/>
    </h:head>
    <h:body>
        <ui:include src="/template/header.xhtml" />
        <div class="mainContent">
            <div id="highscore">

                <h1 style="border-bottom: 1px dotted #FF9A00;">Highscore</h1>

                <table id="resultTable" align="center">
                    <tr><th>Username</th><th>Points</th></tr>
                    <tr>
                        <td>
                            <table style="display: inline-block;">
                                <c:forEach var="player" items="#{highscores.topPlayers}">
                                    <tr>
                                        <td>
                                            #{player}
                                        </td>
                                    </tr>
                                </c:forEach>
                            </table>
                        </td>
                        <td>
                            <table style="display: inline-block;">
                                <c:forEach var="scores" items="#{highscores.highScores}">
                                    <tr>
                                        <td>
                                            #{scores}
                                        </td>
                                    </tr>
                                </c:forEach>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="footerContainer">
            © Copyright 2012 Weba Novare, Gothenburg, Sweden
        </div>
    </h:body>
</html>
